package com.chianghao.rock.admin.system.route.vo;

import com.chianghao.core.db.annotation.Property;

import io.swagger.annotations.ApiModel;

@ApiModel(description="路由信息")
public class RouteVo {

	
	@Property(title="主键",primary = true)
	private Long id;

	@Property(title="父主键")
	private Long parentId;
	
	@Property(title="排序")
	private Integer sort;
	
	@Property(title="序号",remark = "序号全局不可重复")
	private String code;
	
	@Property(title="多语言key",isNull = true)
	private String languateKey;
	
    @Property(title="名称")
    private String  name;

    @Property(title="此路由是否需要认证",isNull = true)
    private Boolean authentication;

    @Property(title="路由",remark = "唯一不可重复，前缀和父路径一致",isNull = true)
    private String  route;
    
    @Property(title="图标",isNull = true)
    private String icon;
   
    @Property(title="类型",remark = "0路由/1按钮/2接口")
    private Integer type;
    
    @Property(title="接口路径",isNull = true)
    private String apiPath;
    
    @Property(title="接口方法",isNull = true)
    private String apiMethod;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getLanguateKey() {
		return languateKey;
	}

	public void setLanguateKey(String languateKey) {
		this.languateKey = languateKey;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Boolean getAuthentication() {
		return authentication;
	}

	public void setAuthentication(Boolean authentication) {
		this.authentication = authentication;
	}

	public String getRoute() {
		return route;
	}

	public void setRoute(String route) {
		this.route = route;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getApiPath() {
		return apiPath;
	}

	public void setApiPath(String apiPath) {
		this.apiPath = apiPath;
	}

	public String getApiMethod() {
		return apiMethod;
	}

	public void setApiMethod(String apiMethod) {
		this.apiMethod = apiMethod;
	}
    
    
    
	
}